<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Aestate: aestate.util.others Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aestate
   &#160;<span id="projectnumber">1.0.5</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceaestate.html">aestate</a></li><li class="navelem"><a class="el" href="namespaceaestate_1_1util.html">util</a></li><li class="navelem"><a class="el" href="namespaceaestate_1_1util_1_1others.html">others</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">aestate.util.others Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ae478a3384f56aecc3c2216fc1e519723"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceaestate_1_1util_1_1others.html#ae478a3384f56aecc3c2216fc1e519723">conversion_types</a> (val)</td></tr>
<tr class="separator:ae478a3384f56aecc3c2216fc1e519723"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f0ad8048a78a5d5e58b8f8654cc8190"><td class="memItemLeft" align="right" valign="top">str&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceaestate_1_1util_1_1others.html#a3f0ad8048a78a5d5e58b8f8654cc8190">date_format</a> (time_obj=time, fmt='%Y-%m-%d %H:%M:%S')</td></tr>
<tr class="separator:a3f0ad8048a78a5d5e58b8f8654cc8190"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0a75a1682ba5f0cf5f883b7523faa37"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceaestate_1_1util_1_1others.html#af0a75a1682ba5f0cf5f883b7523faa37">time_to_datetime</a> (t_time)</td></tr>
<tr class="separator:af0a75a1682ba5f0cf5f883b7523faa37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a416be07c054ed693fd393131896ec1eb"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceaestate_1_1util_1_1others.html#a416be07c054ed693fd393131896ec1eb">get_static_fields</a> (cls)</td></tr>
<tr class="separator:a416be07c054ed693fd393131896ec1eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24de34fe2f4a47b7293c2c3401398c4e"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceaestate_1_1util_1_1others.html#a24de34fe2f4a47b7293c2c3401398c4e">fullname</a> (o)</td></tr>
<tr class="separator:a24de34fe2f4a47b7293c2c3401398c4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f6285307f75af293d8645cce37f1d5e"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceaestate_1_1util_1_1others.html#a3f6285307f75af293d8645cce37f1d5e">logTupleToText</a> (next_line=True, *content)</td></tr>
<tr class="separator:a3f6285307f75af293d8645cce37f1d5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94720f3965606231d30e1a50b0b0112b"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceaestate_1_1util_1_1others.html#a94720f3965606231d30e1a50b0b0112b">write</a> (path, *content)</td></tr>
<tr class="separator:a94720f3965606231d30e1a50b0b0112b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ae478a3384f56aecc3c2216fc1e519723"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae478a3384f56aecc3c2216fc1e519723">&#9670;&nbsp;</a></span>conversion_types()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.util.others.conversion_types </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">将val的类型转换为字符串并插入array
</pre> 
<p class="definition">Definition at line <a class="el" href="others_8py_source.html#l00011">11</a> of file <a class="el" href="others_8py_source.html">others.py</a>.</p>

</div>
</div>
<a id="a3f0ad8048a78a5d5e58b8f8654cc8190"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f0ad8048a78a5d5e58b8f8654cc8190">&#9670;&nbsp;</a></span>date_format()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"> str aestate.util.others.date_format </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>time_obj</em> = <code>time</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>fmt</em> = <code>'%Y-%m-%d&#160;%H:%M:%S'</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">时间转字符串
:param time_obj:
:param fmt:
:return:
</pre> 
<p class="definition">Definition at line <a class="el" href="others_8py_source.html#l00020">20</a> of file <a class="el" href="others_8py_source.html">others.py</a>.</p>

</div>
</div>
<a id="a24de34fe2f4a47b7293c2c3401398c4e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24de34fe2f4a47b7293c2c3401398c4e">&#9670;&nbsp;</a></span>fullname()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.util.others.fullname </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">获取对象的类名</pre> 
<p class="definition">Definition at line <a class="el" href="others_8py_source.html#l00051">51</a> of file <a class="el" href="others_8py_source.html">others.py</a>.</p>

</div>
</div>
<a id="a416be07c054ed693fd393131896ec1eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a416be07c054ed693fd393131896ec1eb">&#9670;&nbsp;</a></span>get_static_fields()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.util.others.get_static_fields </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>cls</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">获取类的非默认全局变量
</pre> 
<p class="definition">Definition at line <a class="el" href="others_8py_source.html#l00043">43</a> of file <a class="el" href="others_8py_source.html">others.py</a>.</p>

</div>
</div>
<a id="a3f6285307f75af293d8645cce37f1d5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f6285307f75af293d8645cce37f1d5e">&#9670;&nbsp;</a></span>logTupleToText()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.util.others.logTupleToText </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>next_line</em> = <code>True</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">*&#160;</td>
          <td class="paramname"><em>content</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="others_8py_source.html#l00065">65</a> of file <a class="el" href="others_8py_source.html">others.py</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="namespaceaestate_1_1util_1_1others_a3f6285307f75af293d8645cce37f1d5e_icgraph.png" border="0" usemap="#namespaceaestate_1_1util_1_1others_a3f6285307f75af293d8645cce37f1d5e_icgraph" alt=""/></div>
<map name="namespaceaestate_1_1util_1_1others_a3f6285307f75af293d8645cce37f1d5e_icgraph" id="namespaceaestate_1_1util_1_1others_a3f6285307f75af293d8645cce37f1d5e_icgraph">
<area shape="rect" title=" " alt="" coords="1036,19,1235,61"/>
<area shape="rect" href="classaestate_1_1util_1_1_log_1_1_a_log.html#a7ebc7c65d01989fca359f5eb5692ac5e" title=" " alt="" coords="248,56,471,83"/>
<area shape="rect" href="namespaceaestate_1_1util_1_1others.html#a94720f3965606231d30e1a50b0b0112b" title=" " alt="" coords="809,56,988,83"/>
<area shape="rect" href="classaestate_1_1util_1_1_log_1_1_a_log.html#a1019e267d1c75b68bfe8377e764aadf3" title=" " alt="" coords="5,5,200,32"/>
<area shape="rect" href="classaestate_1_1util_1_1_log_1_1_a_log.html#ad107d132d232b17e44ce750fcf532d22" title=" " alt="" coords="9,56,197,83"/>
<area shape="rect" href="classaestate_1_1util_1_1_log_1_1_a_log.html#a1c11a87652863ac6893278789e69e920" title=" " alt="" coords="5,107,200,133"/>
<area shape="rect" href="classaestate_1_1work_1_1_cache_1_1_log_cache.html#af409eec8386586bd3b888f7cd347d93b" title=" " alt="" coords="519,49,761,90"/>
<area shape="rect" href="classaestate_1_1util_1_1_log_1_1_a_log.html#a255cc5b3ca68b73d3dbb7961458a614e" title=" " alt="" coords="535,115,745,141"/>
</map>
</div>

</div>
</div>
<a id="af0a75a1682ba5f0cf5f883b7523faa37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0a75a1682ba5f0cf5f883b7523faa37">&#9670;&nbsp;</a></span>time_to_datetime()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.util.others.time_to_datetime </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>t_time</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">时间戳转datetime
</pre> 
<p class="definition">Definition at line <a class="el" href="others_8py_source.html#l00032">32</a> of file <a class="el" href="others_8py_source.html">others.py</a>.</p>

</div>
</div>
<a id="a94720f3965606231d30e1a50b0b0112b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94720f3965606231d30e1a50b0b0112b">&#9670;&nbsp;</a></span>write()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.util.others.write </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">*&#160;</td>
          <td class="paramname"><em>content</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">写出文件
:param path:位置
:param content:内容
:return:
</pre> 
<p class="definition">Definition at line <a class="el" href="others_8py_source.html#l00082">82</a> of file <a class="el" href="others_8py_source.html">others.py</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="namespaceaestate_1_1util_1_1others_a94720f3965606231d30e1a50b0b0112b_cgraph.png" border="0" usemap="#namespaceaestate_1_1util_1_1others_a94720f3965606231d30e1a50b0b0112b_cgraph" alt=""/></div>
<map name="namespaceaestate_1_1util_1_1others_a94720f3965606231d30e1a50b0b0112b_cgraph" id="namespaceaestate_1_1util_1_1others_a94720f3965606231d30e1a50b0b0112b_cgraph">
<area shape="rect" title=" " alt="" coords="5,13,184,39"/>
<area shape="rect" href="namespaceaestate_1_1util_1_1others.html#a3f6285307f75af293d8645cce37f1d5e" title=" " alt="" coords="232,5,431,47"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="namespaceaestate_1_1util_1_1others_a94720f3965606231d30e1a50b0b0112b_icgraph.png" border="0" usemap="#namespaceaestate_1_1util_1_1others_a94720f3965606231d30e1a50b0b0112b_icgraph" alt=""/></div>
<map name="namespaceaestate_1_1util_1_1others_a94720f3965606231d30e1a50b0b0112b_icgraph" id="namespaceaestate_1_1util_1_1others_a94720f3965606231d30e1a50b0b0112b_icgraph">
<area shape="rect" title=" " alt="" coords="809,42,988,69"/>
<area shape="rect" href="classaestate_1_1work_1_1_cache_1_1_log_cache.html#af409eec8386586bd3b888f7cd347d93b" title=" " alt="" coords="519,5,761,47"/>
<area shape="rect" href="classaestate_1_1util_1_1_log_1_1_a_log.html#a255cc5b3ca68b73d3dbb7961458a614e" title=" " alt="" coords="535,71,745,98"/>
<area shape="rect" href="classaestate_1_1util_1_1_log_1_1_a_log.html#a7ebc7c65d01989fca359f5eb5692ac5e" title=" " alt="" coords="248,71,471,98"/>
<area shape="rect" href="classaestate_1_1util_1_1_log_1_1_a_log.html#a1019e267d1c75b68bfe8377e764aadf3" title=" " alt="" coords="5,21,200,47"/>
<area shape="rect" href="classaestate_1_1util_1_1_log_1_1_a_log.html#ad107d132d232b17e44ce750fcf532d22" title=" " alt="" coords="9,71,197,98"/>
<area shape="rect" href="classaestate_1_1util_1_1_log_1_1_a_log.html#a1c11a87652863ac6893278789e69e920" title=" " alt="" coords="5,122,200,149"/>
</map>
</div>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
